package router

import (
	"fx_swift_ifcgate/internal/controller"
	"fx_swift_ifcgate/pkg/middleware"
)

func VAINfoRouter() {
	VAInfopiVer := miniApiVer.Group("vaInfo", middleware.CheckAuth())
	{
		VAInfopiVer.POST("createVAInfo", controller.CreateVAInfo)
		VAInfopiVer.GET("queryParentCode", controller.QueryParentCode)
		VAInfopiVer.GET("queryApplyCode", controller.QueryApplyCode)
		VAInfopiVer.POST("queryCurrencyCode", controller.QueryCurrencyCode)
		VAInfopiVer.GET("queryVAInfoCallBackList", controller.QueryVAInfoCallBackList)
		VAInfopiVer.GET("queryVAInfo", controller.QueryVAInfo)
		VAInfopiVer.GET("getPaymentType", controller.GetPaymentType)
		VAInfopiVer.GET("getTradeCodeType", controller.GetTradeCodeType)
	}
}
